package com.example.stringbufferlogger.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.stringbufferlogger.entity.ReplayLog;
import com.example.stringbufferlogger.mapper.ReplayLogMapper;
import com.example.stringbufferlogger.service.ReplayLogService;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
import javax.annotation.Resource;

@Service
public class ReplayLogServiceImpl extends ServiceImpl<ReplayLogMapper, ReplayLog> implements ReplayLogService {

    @Resource
    private ReplayLogMapper replayLogMapper;
    @Override
    public List<Map<String, Object>> selectRequestIdAndPathByStatus() {
        return baseMapper.selectRequestIdAndPathByStatus();
    }

    @Override
    public String selectPathByRequestIdAndStatus(String requestid) {
        return baseMapper.selectPathByRequestIdAndStatus(requestid);
    }
}
